import Vue from 'vue'
import Router from 'vue-router'
//import HelloWorld from '@/components/HelloWorld'
import { resolve } from 'path'

Vue.use(Router)

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: resolve => require(['@/components/HelloWorld'],resolve)
    // },
    {
    	path:'/',
    	redirect:''
    },
    {
    	path:'/nav-list',
    	name:'nav-list',
    	component: resolve => require(['@/components/nav'],resolve)
    }
  ]
})
